package com.sjzd.message;

import com.sjzd.exception.NullObjectException;
import com.sjzd.menu.GameMenu;

public abstract class MessageProcessStrategy<T extends StatusMessageBase> {
    public GameMenu gameMenu;
    public MessageProcessStrategy(GameMenu gameMenu) {
       this.gameMenu = gameMenu;
    }
    abstract void process(T msg) throws NullObjectException;
}
